gtk_file_chooser_set_current_name: fix type of name argument
authorThomas Holder <thomas@thomas-holder.de>
Fri, 5 Jun 2020 10:43:49 +0000 (12:43 +0200)
committerThomas Holder <thomas@thomas-holder.de>
Mon, 18 Jan 2021 21:14:03 +0000 (22:14 +0100)
The description says UTF-8 string, but the annotation said filename.

Cherry-picked from gtk-3-24 1573ff6803d9c7a41145d21d5fa640ddc493bad2

gtk/gtkfilechooser.c

index decad3fcc8550dbe85e1bae9e0bce519f62944b3..d7eaae85b7f3278f8651cd22c682c8061f659616 100644 (file)
@@ -280,7 +280,7 @@ gtk_file_chooser_get_create_folders (GtkFileChooser *chooser)
 /**
  * gtk_file_chooser_set_current_name:
  * @chooser: a #GtkFileChooser
- * @name: (type filename): the filename to use, as a UTF-8 string
+ * @name: (type utf8): the filename to use, as a UTF-8 string
  * 
  * Sets the current name in the file selector, as if entered
  * by the user. Note that the name passed in here is a UTF-8